package com.onedec.attendance.service;

import com.onedec.attendance.entity.OnedecCheckingIn;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


public interface CheckinService {

    int insertNewCheckin(OnedecCheckingIn checkingIn) throws Exception;

    List<OnedecCheckingIn> selectAll() throws Exception;

    int selectCheckINCount() throws Exception;

    List<Map<String, Object>> selectAllCheckin(HashMap<String, Object> map) throws Exception;

    Integer deleteCheckIn(Integer attid) throws Exception;

}
